/****************************************************************                        
 * Project:      Wolf Custom Report Engine                                       
 * JDK version:  5.0                              
 * Namespace:    wolf.opensource.lcre.model.cross                              
 * Author:       Wolfyan
 * Email:        wolf.opensource@gmail.com           
 * Create Date:  2009-1-1
 * 
 * Modified By:                                             
 * Modified Date:                                    
 *    
 * 
 * Version:      1.0.0.0                   
 *****************************************************************/
package wolf.opensource.lcre.model.cross;

import java.util.ArrayList;

/**
 * The Class ColumnCollection.
 */
public class ColumnCollection extends ArrayList<Column> {

	private static final long serialVersionUID = 4992518866347294828L;
	
	private boolean fixed = true;
	private String datasource;
	private String displayField;

	/**
	 * Get the fixed.
	 * 
	 * @return fixed
	 */
	public boolean getFixed() {
		return fixed;
	}

	/**
	 * Set the fixed.
	 * 
	 * @param fixed  fixed
	 */
	public void setFixed(boolean fixed) {
		this.fixed = fixed;
	}

	/**
	 * Get the datasource.
	 * 
	 * @return datasource
	 */
	public String getDatasource() {
		return datasource;
	}

	/**
	 * Set the datasource.
	 * 
	 * @param datasource  datasource
	 */
	public void setDatasource(String datasource) {
		this.datasource = datasource;
	}

	/**
	 * Get the display field.
	 * 
	 * @return display field
	 */
	public String getDisplayField() {
		return displayField;
	}

	/**
	 * Set the display field.
	 * 
	 * @param displayField  display field
	 */
	public void setDisplayField(String displayField) {
		this.displayField = displayField;
	}
	
}
